<?php
$isWindow = is_windows();
if ($isWindow) {
    $file = "G:\\PHPstudy\\WWW\\wx.shidao.com\\public\\easywechat.log";
} else {
    $file = base_path('easywechat.log');
}
return [
    'debug'   => true,
    'app_id'  => env('WX_APP_ID'),
    'secret'  => env('WX_SECRET'),
    'token'   => env('WX_TOKEN'),
    'aes_key' => env('WX_AES_KEY'), // 可选
    'log'     => [
        'level'      => 'debug',
        'permission' => 0777,
        'file'       => $file, // XXX: 绝对路径！！！！
    ],
    'oauth'   => [
        'scopes'   => ['snsapi_userinfo'],
        'callback' => '/wx-api/wxUserInfoCallBack',
    ],
];